

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/jq.date.js"></script>  
        <link rel="stylesheet" type="text/css" href="../css/ui.datepicker.css"/>
    </head>
    <script type="text/javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){

           
            validateform("form-input-customer");
        });

    </script>
    <style type="text/css">
        #ui-datepicker-div
        {
            z-index: 9999999;
        }
        .form_item_content{
            float: left;
            margin-left: 10px;
            margin-top: 9px !important;
            width: 100%;
        }
        .blue{
            background-color: #E0EFFC;
        }
    </style>
    <f:view>
        <h:form id="form-input-customer" >
            <body style=" float:left; width:auto; height:auto; margin:0px;">
                <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

                <div class="popup" style="height:600px; width:800px">
                    <div class="popup-header">
                        <div class="title"><h:outputText value="DANH SÁCH NGƯỜI GỬI SMS"/></div>
                    </div>
                    <div class="popup-content" >
                        <div class="main_content">
                            <div style="width: 100%;height: 500px;overflow: auto;">
                                <rich:dataTable value="#{smsController.listSMS}" var="cus" rows="50" rowClasses="blue,white"

                                                width="700px" columnClasses=",columns,columns,columns" rowKeyVar="row"
                                                id="table" styleClass="machinePosDataTable">

                                    <rich:column style="width:40px; text-align:center">
                                        <f:facet name="header">
                                            <h:outputText value="STT" />
                                        </f:facet>
                                        <h:outputText value="#{row+1}" />
                                    </rich:column>
                                    <rich:column style="width:120px;">
                                        <f:facet name="header">
                                            <h:outputText value="#{locale.frist_lastname}" />
                                        </f:facet>
                                        <div style="width:120px;">
                                            <h:outputText value="#{cus.hoten}" />
                                        </div>
                                    </rich:column>

                                    <rich:column width="80px">
                                        <f:facet name="header">
                                            <h:outputText value="Mobi" />
                                        </f:facet>

                                        <div style="width:80px;">
                                            <h:panelGroup rendered="#{smsController.actionpage=='employeeUser'}">
                                                <h:outputText value="#{cus.nv121}" />
                                            </h:panelGroup>
                                            <h:panelGroup rendered="#{smsController.actionpage !='employeeUser'}">
                                                <h:outputText value="#{cus.nv958}" />
                                            </h:panelGroup>
                                        </div>
                                    </rich:column>
                                </rich:dataTable>


                            </div>
                        </div>
                        <div class="popup-footer">

                            <div class="buttonsave" style="margin-right: 33px;"  onclick="parent.jQuery.fancybox.close(); "  ><span><h:outputText value="#{locale.close}"/></span></div>
                            
                        </div>

                    </div>
                </div>
            </body>
        </h:form>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height','505px' );
        $j('.popup-content').css('height','505px' );
    });
</script>
